package com.soft.entity;


import java.sql.Timestamp;  // 修正了Timestamp的导入包


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;


@TableName("orderlist")
public class Orderlist {
    @TableId(value = "orderlist_id", type = IdType.AUTO)
    private Long orderlistId;
    
    @TableField("orderlist_time")
    private Timestamp orderlistTime;  // 修正了Timestamp的类型
    
    @TableField("user_id")
    private Long userId;
    
    @TableField("desk_id")
    private Long deskId;
    
    @TableField("orderlist_status")
    private String orderlistStatus;
    
    @TableField("employee_id")
    private Long employeeId;
    
    @TableField("orderlist_totalprice")
    private Long orderlistPrice;  // 注意：实体类字段与数据库字段名不一致，建议统一
    
    @TableField("store_id")
    private Long storeId;


    // getter和setter方法保持不变
    public Long getOrderlistId() {
        return orderlistId;
    }
    public void setOrderlistId(Long orderlistId) {
        this.orderlistId = orderlistId;
    }
    public Timestamp getOrderlistTime() {
        return orderlistTime;
    }
    public void setOrderlistTime(Timestamp orderlistTime) {
        this.orderlistTime = orderlistTime;
    }
    public Long getUserId() {
        return userId;
    }
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public Long getDeskId() {
        return deskId;
    }
    public void setDeskId(Long deskId) {
        this.deskId = deskId;
    }
    public String getOrderlistStatus() {
        return orderlistStatus;
    }
    public void setOrderlistStatus(String orderlistStatus) {
        this.orderlistStatus = orderlistStatus;
    }
    public Long getEmployeeId() {
        return employeeId;
    }
    public void setEmployeeId(Long employeeId) {
        this.employeeId = employeeId;
    }
    public Long getOrderlistPrice() {
        return orderlistPrice;
    }
    public void setOrderlistPrice(Long orderlistPrice) {
        this.orderlistPrice = orderlistPrice;
    }
    public Long getStoreId() {
        return storeId;
    }
    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }
}